function   chk_browers(){
	var userAgent = navigator.userAgent.toLowerCase(); 
	  
	var android = userAgent.indexOf('android') > -1;  
	var iphone = userAgent.indexOf('iphone') > -1;  
	var ipad = userAgent.indexOf('ipad') > -1;  
	var ipod = userAgent.indexOf('ipod') > -1;  
	var windows_phone = userAgent.indexOf('windows phone') > -1;  
	var blackberry = userAgent.indexOf('blackberry') > -1;  
	var symbia = userAgent.indexOf('symbia') > -1;  
	var nokiabrower = userAgent.indexOf('nokiabrower') > -1;  
            
	if (android || iphone || ipad || ipod || windows_phone || blackberry || symbia || nokiabrower) {
  	window.location= 'http://m.ygjxsb.com/index.php';
	} else{
		
	} 
}
chk_browers();